package vip.xiaonuo.chickenflock.modular.chickenflock.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 鸡群视图
 * @author
 * @date 2023/12/26、11:52
 */
@Getter
@Setter
@TableName("CHICKEN_FLOCK_VIEW")
public class ChickenFlockView {
    /** 鸡群id */
    @TableId
    @ApiModelProperty(value = "鸡群id", position = 1)
    private String id;

    /** 鸡群类别 */
    @ApiModelProperty(value = "鸡群类别", position = 2)
    private String category;

    /** 鸡群种类 */
    @ApiModelProperty(value = "鸡群种类", position = 3)
    private String type;

    /** 所属栏区id */
    @ApiModelProperty(value = "所属栏区", position = 4)
    private String columnId;

    /* 所属栏区名 */
    private String columnName;

    /** 鸡群数量 */
    @ApiModelProperty(value = "鸡群数量", position = 5)
    private Integer quantity;

    /** 入栏日期 */
    @ApiModelProperty(value = "入栏日期", position = 6)
    private Date arrivalDate;

    /** 创建时间 */
    @ApiModelProperty(value = "创建时间", position = 7)
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /** 修改时间 */
    @ApiModelProperty(value = "修改时间", position = 8)
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;
}
